FilterEverything\Filter\FilterFields D

Total Complexity 216
Dependencies 4
Dependents 3
Total lines 1,384
Lines of code 984
Logical lines of code 470
Comment lines 155
Methods 34
Properties 5

Methods 34

Method Rating Maintainability Complexity Lines of code
validateTheFilter()
D
23
50 185
prepareFilterInputs()
D
29
44 106
sanitizeFilterFields()
A
43 11 49
setupDefaultFields()
A
29 1 176
sendExcludedTerms()
A
47 9 36
ajaxDeleteFilter()
A
50 9 28
ajaxValidateFilters()
A
50 9 26
validateFilters()
A
52 8 24
pushError()
A
54 8 22
getFilterNames()
S
53 7 23
entityBelongsToPostType()
S
58 6 15
fillErrorsMessages()
S
58 5 15
deleteRelatedFilters()
S
56 4 18
saveFilter()
S
49 3 30
getFiltersInputs()
S
62 4 11
getErrorsList()
S
42 1 54
getFieldsByType()
S
63 4 10
addSpinnerToSelect()
S
59 3 14
filterBelongsToPostType()
S
61 3 12
getErrorCodes()
S
66 3 9
isTaxonomyBelongsToPostType()
S
65 3 9
deleteFilter()
S
65 3 10
prepareFilterCheckboxFields()
S
64 3 10
getInsteadEntityField()
S
57 1 16
registerHooks()
S
63 2 10
getErrorMessage()
S
69 2 7
getErrors()
S
72 2 6
generateInputName()
S
68 2 7
getOrderByOptions()
S
59 1 14
getEmptyFilterObject()
S
62 1 11
getFieldsMapping()
S
82 1 3
getViewOptions()
S
63 1 10
generateInputID()
S
78 1 3
__construct()
S
73 1 5